#pragma once
#include "effect.h"
#include "Kamehameha.h"

class Effect_Guard :
	public Effect
{
public:
	Effect_Guard(XnPoint3D upper_left, XnVector3D leftToright);
	~Effect_Guard(void);
	
	void DrawSquare(float Scale, double str_clr, double weak_clr, double alpha);
	 bool isHitEffect(XnPoint3D center, float radius);
private:
	bool drawEffectInternal();
	void Get4Points(XnPoint3D &upper_Left, XnPoint3D &Upper_Right, XnPoint3D &Lower_Left, XnPoint3D &Lower_Right);

	const XnVector3D VerticalVec;
};

